<include file="Public:header"/>
<link rel="stylesheet" href="http://code.jquery.com/ui/jquery-ui-git.css" type="text/css" />
<form action="" method="post" enctype="multipart/form-data">
<table>
	<tr>
        <th colspan="2">添加滚动<a href="{:U('/Slide/')}">返回</a></th>
    </tr>
    <tr>
        <td>名称：</td>
        <td>
        	<notempty name="mall">{$mall.m_name}</notempty>
        	<notempty name="floor">-{$floor.f_sain} {$floor.f_name}-</notempty>
        	<notempty name="brand">{$brand.b_name}</notempty>
        </td>
    </tr>
    <tr>
        <td>标题：</td>
        <td><input name="title" type="text"/></td>
    </tr>
    <tr>
        <td>图片：</td>
        <td><input name="image" type="file"/></td>
    </tr>
    <if condition="$isShowTime">
    <tr>
		<td>开始时间:</td>
		<td>
			<input name="start_time" id="sTime" type="text" maxlength="50" readonly="readonly"/>
		</td>
	</tr>
	<tr>
		<td>结束时间:</td>
		<td>
			<input name="end_time"  id="eTime" type="text" maxlength="50" readonly="readonly"/>
		</td>
	</tr>
	</if>
    <tr>
		<td colspan="2">
			<input type="submit" value=" 提交 " />
		</td>
	</tr>
</table>
</form>
<include file="Public:footer"/>
<script type="text/javascript" src="http://code.jquery.com/ui/jquery-ui-git.js"></script>
<script type="text/javascript">
$(function() {
	$("#sTime").datepicker({
		dateFormat: "yy-mm-dd"
	});
	$("#eTime").datepicker({
		dateFormat: "yy-mm-dd"
	});
});
</script>